import { getStore } from '@/util/store'
const jgbh = (() => {
  let org = getStore({ name: 'org' })
  return org.jgbh
})()
export default {
  labelWidth: 150,
  column: [
    {
      label: '体检编号',
      prop: 'id',
      disabled: true,
      clearable: true,
      rules: []
    },
    {
      label: '姓名',
      prop: 'name',
      clearable: true,
      disabled: true,
      rules: []
    },
    {
      label: '身份证号',
      prop: 'sfzhm',
      clearable: true,
      disabled: true,
      rules: []
    },
    {
      label: '年龄',
      prop: 'age',
      clearable: true,
      rules: []
    },
    {
      label: '现住址',
      prop: 'jkdnxzz',
      clearable: true,
      rules: []
    },
    {
      label: '户籍地址',
      prop: 'jkdnhjdz',
      clearable: true,
      rules: []
    },
    {
      label: '联系电话',
      prop: 'lxdh',
      clearable: true,
      rules: []
    },
    {
      labelWidth: 150,
      label: '乡镇（街道）名称',
      size: 'small',
      prop: 'xzjdmc'
    },
    {
      label: '村（居）委会名称',
      prop: 'cwhmcid',
      clearable: true,
      type: 'select',
      dicUrl: `/ykdjgxxs/getvill/${jgbh}`
    },
    {
      label: '建档单位',
      prop: 'jddw',
      clearable: true,
      rules: []
    },
    {
      label: '建档人',
      prop: 'jdr',
      clearable: true,
      rules: []
    },
    {
      label: '责任医生',
      prop: 'zeys',
      clearable: true,
      rules: []
    },
    {
      label: '建档日期',
      prop: 'jdrq',
      type: 'date',
      valueFormat: 'yyyy-MM-dd',
      format: 'yyyy-MM-dd',
      clearable: true,
      rules: []
    }
  ]
}
